﻿using System;
using System.Runtime.CompilerServices;
using AutoR.Helpers;
using Newtonsoft.Json;
using Prism.Mvvm;

namespace AutoR.Models
{
	// Token: 0x020001AF RID: 431
	public class UserExplore : BindableBase
	{
		// Token: 0x17000217 RID: 535
		// (get) Token: 0x060008C3 RID: 2243 RVA: 0x0006A4D7 File Offset: 0x000686D7
		// (set) Token: 0x060008C4 RID: 2244 RVA: 0x0006A4E0 File Offset: 0x000686E0
		public int exploreId
		{
			[CompilerGenerated]
			get
			{
				return this.<exploreId>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<exploreId>k__BackingField == value)
				{
					return;
				}
				this.<exploreId>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.ExplorerName);
				this.OnPropertyChanged(<>PropertyChangedEventArgs.exploreId);
			}
		}

		// Token: 0x17000218 RID: 536
		// (get) Token: 0x060008C5 RID: 2245 RVA: 0x0006A518 File Offset: 0x00068718
		// (set) Token: 0x060008C6 RID: 2246 RVA: 0x0006A520 File Offset: 0x00068720
		public int fleetId
		{
			[CompilerGenerated]
			get
			{
				return this.<fleetId>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (this.<fleetId>k__BackingField == value)
				{
					return;
				}
				this.<fleetId>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.fleetId);
			}
		}

		// Token: 0x17000219 RID: 537
		// (get) Token: 0x060008C7 RID: 2247 RVA: 0x0006A54D File Offset: 0x0006874D
		// (set) Token: 0x060008C8 RID: 2248 RVA: 0x0006A558 File Offset: 0x00068758
		[JsonConverter(typeof(DateTimeConverter))]
		public DateTime startTime
		{
			[CompilerGenerated]
			get
			{
				return this.<startTime>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (DateTime.Equals(this.<startTime>k__BackingField, value))
				{
					return;
				}
				this.<startTime>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.startTime);
			}
		}

		// Token: 0x1700021A RID: 538
		// (get) Token: 0x060008C9 RID: 2249 RVA: 0x0006A588 File Offset: 0x00068788
		// (set) Token: 0x060008CA RID: 2250 RVA: 0x0006A590 File Offset: 0x00068790
		[JsonConverter(typeof(DateTimeConverter))]
		public DateTime endTime
		{
			[CompilerGenerated]
			get
			{
				return this.<endTime>k__BackingField;
			}
			[CompilerGenerated]
			set
			{
				if (DateTime.Equals(this.<endTime>k__BackingField, value))
				{
					return;
				}
				this.<endTime>k__BackingField = value;
				this.OnPropertyChanged(<>PropertyChangedEventArgs.endTime);
			}
		}

		// Token: 0x1700021B RID: 539
		// (get) Token: 0x060008CB RID: 2251 RVA: 0x0006A5C0 File Offset: 0x000687C0
		public string ExplorerName
		{
			get
			{
				return string.Format("{0} - {1}", this.exploreId / 10000, this.exploreId % 10);
			}
		}
	}
}
